import request from "@/utils/request";

// 查询列表
export function homePageOverview(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/homepage/queryAssetOverview",
  });
}
// 路灯管养查询详情
export function lampCommunityCount(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/lamp/lampCommunityCount",
  });
}
// 清扫保洁查询详情
export function cleaningCommunityCount(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/cleaning/cleaningCommunityCount",
  });
}
// 市政公厕查询详情
export function toiletCommunityCount(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/toilet/toiletCommunityCount",
  });
}
// 道路绿化查询详情
export function roadGreeningCommunityCount(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/greenery/roadGreeningCommunityCount",
  });
}
// 公园管养查询详情
export function parkCommunityCount(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/park/parkCommunityCount",
  });
}
// 垃圾收运查询详情
export function recycleCommunityCount(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/recycle/recycleCommunityCount",
  });
}
// 垃圾分类督导查询详情
export function garbageSortingCommunityCount(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/sorting/garbageSortingCommunityCount",
  });
}
// 四害消杀查询详情
export function disinfectionCommunityCount(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/extermination/disinfectionCommunityCount",
  });
}
// 一体化维修查询详情
export function maintenanceCommunityCount(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/maintenance/maintenanceCommunityCount",
  });
}
//经纬度查询接口
// 市政公厕
export function toiletQueryToilet(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/toilet/queryToilet",
  });
}
// 公园管养
export function parkQueryPark(query) {
  return request({
    method: "get",
    params: query,
    url: "/asset/park/queryPark",
  });
}